package com.demo1;

/**
 * Colleague 具体的同事类  同事A
 * @author zhoujun
 * @date 2025/3/26 23:25
 */
public class ConcreteColleagueA extends Colleague {
    /**
     * 传入中介者
     * @param mediator
     */
    public ConcreteColleagueA(Mediator mediator) {
        super(mediator);
    }



    @Override
    void receive(String message) {
        System.out.println("同事A收到消息=" + message);
    }
}
